import { request } from "../utils/axios"

export default {
  getSysParam (authId: any) {
    return request({
      url: `/framework/auth/getApiAuthParam/${authId}`
    })
  },
  getAuthId (data: { apiId: any, versionId: any }) {
    return request({
      url: '/framework/auth/getApiAuthId',
      method: 'POST',
      data
    })
  },
  save (data: any) {
    return request({
      url: '/framework/auth/addApiAuth',
      method: 'POST',
      data
    })
  }
}
